﻿using Dict.DataModel;
using System.Collections;
using UnityEngine;
namespace Story
{
    class StepForbidControl : StepBase
    {
        protected override void OnStart()
        {
            EasyTouchTool.Instance.Hide();
            storyManager.maskObject.SetActive(true);

            var self = Room.RoomManager.currentRoom.charactorManager.GetSelfCharactor();
            if(self!=null)
            {
                var ai = self.ai as Room.RCAISelf;
                ai.StopAutoGo();
            }
            

            End();
        }

    }
}